﻿using UnityEngine;
using System;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;

public class Race
{
	private Galaxy.RaceType m_RaceType;
	private Color m_RaceColor;


	// getters and setters
	public Galaxy.RaceType RaceType
	{
		get { return m_RaceType; }
		set { m_RaceType = value; }
	}

	public Color RaceColor
	{
		get { return m_RaceColor; }
		set { m_RaceColor = value; }
	}


	// constructors
	public Race() : this(Galaxy.GetRandKingdomRace())
	{
	}

	public Race(Galaxy.RaceType race)
	{
		m_RaceType = race;

		if (Core.colorTable.ContainsKey(m_RaceType))
			m_RaceColor = (Color)Core.colorTable[m_RaceType];
		else
			m_RaceColor = Color.cyan;
	}

	// static methods
	public static Color GetRaceColor(Galaxy.RaceType race)
	{


		return Color.white;
	}

}